


let BaseView = require('./BaseView');

let DirView = require('./res/DirView');
let DecoView = require('./res/DecoView');
let AnimTempView = require('./res/AnimTempView');

require('./css/res.css');
class ResView extends  BaseView{
    constructor(){
        super();

        this.rootEl = document.createElement('div');
        this.rootEl.classList.add('res');
        this.rootEl.classList.add('border');

        // sub views
        this.dirView = new DirView();
        this.addView(this.dirView);

        // deco view
        this.decoView = new DecoView();
        this.addView(this.decoView);

        this.animTempView = new AnimTempView();
        this.addView(this.animTempView);
    }
}

module.exports = ResView;
